package com.example.stream;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;

import javax.print.attribute.standard.MediaSize;

/**
 * @author zhaoyunlong
 * @date 2020/11/11
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person {

    String name;



    public static  Person build(String name){
        Person person = new Person();
        person.setName(name);
        return person;
    }

}
